import { createRouter, createWebHistory } from 'vue-router'

const routes = [{
        path: '/',
        name: 'root',
        redirect: '/screen'
    },
    {
        path: '/screen',
        name: 'Screen',
        component: () =>
            import ( /* webpackChunkName: "screen" */ '../views/Screen/index.vue')
    }
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router